import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

import vueJsx from '@vitejs/plugin-vue-jsx'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(),
    vueJsx({
      // options are passed on to @vue/babel-plugin-jsx
    })
  ],
  optimizeDeps: {
  //   include: ['esm-dep'] // mock
  },
  // cacheDir: './.cache'
  resolve: {
    alias: {
      '@styles': '/src/assets/styles'
    }
  },
  css: {
    modules: {
      localsConvention: 'camelCase'
    }
  }
})
